
using System.Collections.Generic;
namespace com.tc.gateway.device
{
    public class Group
    {
        short id;
        string name;
        List<Device> members = new List<Device>();
        public short getId()
        {
            return id;
        }
        public void setId(short id)
        {
            this.id = id;
        }
        public string getName()
        {
            return name;
        }
        public void setName(string name)
        {
            this.name = name;
        }
        public List<Device> getMembers()
        {
            return members;
        }
      
        public string tostring()
        {

            return (name == null ? "" : name) + "[" + id + "]";
        }

    }
}
